package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "yx_video")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Video {
    @Id
    private String id;

    private String title;

    private String description;

    @Column(name = "video_path")
    private String videoPath;


    private String coverPath;

    private String status;

    private Date createTime;

    private String categoryId;

    private String userId;

    private String groupId;


}